namespace iPhOwa.Exchange
{
	/// <summary>
	/// Specifies a range of integer values.
	/// </summary>
	public sealed class Range
	{
		private readonly int from;
		private readonly int to;

		/// <summary>
		/// Constructor.
		/// </summary>
		public Range(int from, int to)
		{
			this.from = from;
			this.to = to;
		}

		/// <summary>
		/// Lower bounds.
		/// </summary>
		public int From
		{
			get { return from; }
		}

		/// <summary>
		/// Upper bounds.
		/// </summary>
		public int To
		{
			get { return to; }
		}
	}
}